import request from '@/router/axios'

export function getReportErrorList(query) {
  return request({
    url: '/check/check/getReportErrorList',
    method: 'post',
    params: query
  })
}


export function getLineLists(query) {
  return request({
    url: '/check/check/getLineLists',
    method: 'post',
    params: query
  })
}

export function getLineListsEpm(query) {
  return request({
    url: '/support/swparamline/dict',
    method: 'get',
    params: query
  })
}

export function getPersonOtherStation(query) {
  return request({
    url: '/check/check/getPersonOtherStationLists',
    method: 'post',
    params: query
  })
}
export function getStationLists(query) {
  return request({
    url: '/check/check/getStationLists',
    method: 'post',
    params: query
  })
}

export function getPersonRole(query) {
  return request({
    url: '/check/check/getPersonRole',
    method: 'post',
    params: query
  })
}


export function getReports(query) {
  return request({
    url: '/check/check/getReports',
    method: 'post',
    params: query
  })
}

export function delReportError(query) {
  return request({
    url: '/check/check/delReportError',
    method: 'post',
    params: query
  })
}
export function highDelReportError(query) {
  return request({
    url: '/check/check/highDelReportError',
    method: 'post',
    params: query
  })
}

export function noticeReport(query) {
  return request({
    url: '/check/check/noticeReport',
    method: 'post',
    data:query
  })
}

export function updateReport(query) {
  return request({
    url: '/check/check/updateReport',
    method: 'post',
    params: query
  })
}

export function addReportError(query) {
  return request({
    url: '/check/check/addReportError',
    method: 'post',
    params: query
  })
}

export function checkXlsxData(query) {
  return request({
    url: '/check/check/checkXlsxData',
    method: 'post',
    params: query
  })
}

export function import_report_error(query) {
  return request({
    url: '/check/check/import_report_error',
    method: 'post',
    params: query,
    timeout:300000
  })
}


export function add_cz_sq_ReportError(query) {
  return request({
    url: '/check/check/add_cz_sq_ReportError',
    method: 'post',
    params: query
  })
}

export function update_srsh_sq_ReportError(query) {
  return request({
    url: '/check/check/update_srsh_sq_ReportError',
    method: 'post',
    params: query
  })
}
